import { LoginProp } from "../type/login";
import Request from "../request";
export const login = (data: LoginProp) => {
  return Request({
    url: "/login",
    method: "post",
    data,
  });
};